package ml.kupin.content.service;

import ml.kupin.common.utils.KuPinResult;
import ml.kupin.pojo.TbContent;
import ml.kupin.common.vo.EasyUIDataGridResult;

import java.util.List;

/**
 * Created by 小柯(Allen Kerr) on 17.4.26 19:39.
 */
public interface ContentService {

    EasyUIDataGridResult<TbContent> getContentsByPage(long categoryId, int page, int rows);

    KuPinResult addContent(TbContent content) throws Exception;

    List<TbContent> getContentsBycategoryId(long categoryId);
}
